package com.training1.core.modules.service;


import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.training1.core.common.service.CrudService;
import com.training1.core.entity.UnderCompanyEntity;
import com.training1.core.modules.dao.UnderCompanyDao;

@Service
@Transactional
public class UnderCompanyService extends CrudService<UnderCompanyDao,UnderCompanyEntity>{
	
	
	@Resource
	private UnderCompanyDao underCompanyDao;
	
	public List<UnderCompanyEntity> findAllCompanyName(){
		return underCompanyDao.findAllCompanyName();
	}
}
